package hcn.protocol.registration.xml.req;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

/**
 * @Author: lanyu
 * @Description:
 * @Date: create in 2023/2/23 13:58
 */
@XmlRootElement(name = "MsgBody")
public class TakeNumberXmlRequest {

    private Patient patient;
    private OptRegister optRegister;


    @XmlElement(name = "Patient")
    public Patient getPatient() {
        return patient;
    }

    public void setPatient(Patient patient) {
        this.patient = patient;
    }

    @XmlElement(name = "OptRegister")
    public OptRegister getOptRegister() {
        return optRegister;
    }

    public void setOptRegister(OptRegister optRegister) {
        this.optRegister = optRegister;
    }

    @XmlRootElement(name = "Patient")
    public static class Patient {
        private String VisitOrganization;

        @XmlElement(name = "VisitOrganization")
        public String getVisitOrganization() {
            return VisitOrganization;
        }

        public void setVisitOrganization(String visitOrganization) {
            VisitOrganization = visitOrganization;
        }
    }

    @XmlRootElement(name = "OptRegister")
    public static class OptRegister {
        private String AppointsId;
        private String PageNo;
        private String PageSize;

        @XmlElement(name = "AppointsId")
        public String getAppointsId() {
            return AppointsId;
        }

        public void setAppointsId(String appointsId) {
            AppointsId = appointsId;
        }

        @XmlElement(name = "PageNo")
        public String getPageNo() {
            return PageNo;
        }

        public void setPageNo(String pageNo) {
            PageNo = pageNo;
        }

        @XmlElement(name = "PageSize")
        public String getPageSize() {
            return PageSize;
        }

        public void setPageSize(String pageSize) {
            PageSize = pageSize;
        }
    }
}
